class GetData{
    constructor(){

    }

    getrecent(){
        return fetch('/dm/external/gl.html?projects=599624845911,178630,599495045931,599057294851,600237475879,178548,178247,599048711899,597422432551,178112,598668885993,178246,599603499796,598087764566,599061303413,598835828051,599109468571,598159091337,596845361207,599474314303,596730380877,178298,598089838354,598318717164,597210354077,599755958832,177983,178365,598885505888,597090200912&ctl=%E8%88%9E%E8%B9%88%E8%8A%AD%E8%95%BE')
            .then(response => response.json())
            .then(res => {
                //console.log(res.suggest);
                return res;
            })
    }

    gethome(){
        return fetch('/dm/external/gl.html?projects=599571306903,599414488211,599911762623,599377213000,597877256538,598403613128,598581808776,598315677461,599396424084,599120872900,599197823144,600135367066,599818358513,599449460958,599749189905,599256959188,598825349432,599406693859,598094916013,599345777691,599393606180,598764531057,599379452109,599941387225,597448614107,599056658412,598631243389,598623175318,598266069521,599078478988&ctl=%E6%BC%94%E5%94%B1%E4%BC%9A')
            .then(response => response.json())
            .then(res => {
                //console.log(res.suggest);
                return res;
            })
    }
    getopera(){
        return fetch('/dm/external/gl.html?projects=599610937143,178499,599613953034,599338180162,599409412896,599890034307,599736823536,599863629962,598649116078,599288498353,599538633407,598602110841,599070250127,598459506734,597868864250,598164661784,177977,178470,598091718728,597632025030,178393,597775885054,599150973391,599316261141,599697177664,599080298568,598788625341,599819951129,597891898384,599538578141&ctl=%E8%AF%9D%E5%89%A7%E6%AD%8C%E5%89%A7')
            .then(response => response.json())
            .then(res => {
                //console.log(res.suggest);
                return res;
            })
    }

    getmusic(){
        return fetch('/dm/external/gl.html?projects=599608963204,599344942924,600079819529,599351793661,598994223541,598407773642,599953694836,598372008545,599546203054,597861915474,596820819994,598780299882,178248,178583,599528383014,598105040065,599729703910,598486727918,598220215275,597650207718,598169948276,597412029727,178463,599079778706,596665112826,599061115444,598789282301,597533091053,597522012478,178532&ctl=%E9%9F%B3%E4%B9%90%E4%BC%9A')
            .then(response => response.json())
            .then(res => {
                //console.log(res.suggest);
                return res;
            })
    }

    getphysical(){
        return fetch('/dm/external/gl.html?projects=599081274446,598155300165,599648727395,598283622451,598994304245,600225707673,598805746735,597419209377,599756571674,599443615055,599459975490,598968747296,597866787767,597564203548,595685264975,597185704364,599264299979,599471451913,599912050157,597868147308,596959964834,597089195805,598889397904,597582482518,599731959706,596263150329,598583765368,596755782638,599523528264,599881986815&ctl=%E4%BD%93%E8%82%B2')
            .then(response => response.json())
            .then(res => {
                //console.log(res.suggest);
                return res;
            })
        
    }

    getcomic(){
        return fetch('/dm/external/gl.html?projects=599475108918,598712523500,600099047887,598744301165,598806210790,599483596811,599064584241,597818350399,598514330732,597836605823,597168786261,598339821369,598843530408,178733,597158810515,178632,599256990770,597554895671,597550416426,598502651007,599545773585,599275018090,595708466786,596891526380,599545553221,595406575176,596839437592,596881111752,598803574479,597959158659&ctl=%E6%9B%B2%E8%8B%91%E6%9D%82%E5%9D%9B')
            .then(response => response.json())
            .then(res => {
                //console.log(res.suggest);
                return res;
            })
    }

    getparentchild(){
        return fetch('/dm/external/gl.html?projects=599293753010,598296723598,598492524303,599208396001,599073978465,598844072329,599730840825,598429514589,598635008956,598352064194,598171305428,598885269174,597532815249,598409037668,598904516932,598419480078,178555,596223248131,598135007175,599288630939,599328688333,598874525182,597791891215,599062703217,598792205439,597974505906,596498370477,599633753615,598333643941,597614856072&ctl=%E5%84%BF%E7%AB%A5%E4%BA%B2%E5%AD%90')
        .then(response => response.json())
        .then(res => {
            //console.log(res.suggest);
            return res;
        })
    }

    getrelax(){
        return fetch('/dm/external/gl.html?projects=599123907339,599395110133,597298424917,597833462471,599671803711,598859133195,599357249093,599357325434,599248927374,599265545055,598381717942,598474395214,598555107786,598546007808,598182436588,598100610783,598783027157,597789379043,599729999279,596651792715,598380020184,600028162661,597169242763,598589601394,598843056900,597244908256,597189448933,597874164885,595902082576,597719845671&ctl=%E5%B1%95%E8%A7%88%E4%BC%91%E9%97%B2')
        .then(response => response.json())
        .then(res => {
            //console.log(res.suggest);
            return res;
        })
        
    }

    getoversea(){
        return fetch('/dm/external/gl.html?projects=599123907339,599395110133,597298424917,597833462471,599671803711,598859133195,599357249093,599357325434,599248927374,599265545055,598381717942,598474395214,598555107786,598546007808,598182436588,598100610783,598783027157,597789379043,599729999279,596651792715,598380020184,600028162661,597169242763,598589601394,598843056900,597244908256,597189448933,597874164885,595902082576,597719845671&ctl=%E5%B1%95%E8%A7%88%E4%BC%91%E9%97%B2')
        .then(response => response.json())
        .then(res => {
            //console.log(res.suggest);
            return res;
        })
    }
}

export default new GetData();